package domain;

import java.sql.Timestamp;

public class shoppingcart {
	Long id;
	Long user_id;
	Long product_id;
	Long quantity;
	Long checked;
	Timestamp create_time;
	Timestamp update_time;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getUser_id() {
		return user_id;
	}
	public void setUser_id(Long user_id) {
		this.user_id = user_id;
	}
	public Long getProduct_id() {
		return product_id;
	}
	public void setProduct_id(Long product_id) {
		this.product_id = product_id;
	}
	public Long getQuantity() {
		return quantity;
	}
	public void setQuantity(Long quantity) {
		this.quantity = quantity;
	}
	public Long getChecked() {
		return checked;
	}
	public void setChecked(Long checked) {
		this.checked = checked;
	}
	public Timestamp getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Timestamp create_time) {
		this.create_time = create_time;
	}
	public Timestamp getUpdate_time() {
		return update_time;
	}
	public void setUpdate_time(Timestamp update_time) {
		this.update_time = update_time;
	}
	@Override
	public String toString() {
		return "shoppingcart [id=" + id + ", user_id=" + user_id + ", product_id=" + product_id + ", quantity="
				+ quantity + ", checked=" + checked + ", create_time=" + create_time + ", update_time=" + update_time
				+ "]";
	}
	
}
